package com.aos.erp.manager.model.applyschool.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 驾校设备信息表
 * </p>
 *
 * @author ywb
 * @since 2018-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_drivers_school_device")
public class ApplySchoolDevice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 驾校ID
     */
    @TableField("drivers_school_id")
    @ApiModelProperty(value = "驾校ID")
    private Long driversSchoolId;

    /**
     * usb_key
     */
    @TableField("usb_key")
    @ApiModelProperty(value = "usb_key")
    private String usbKey;

    /**
     * u盘编码(设备号)
     */
    @TableField("devicecode")
    @ApiModelProperty(value = "u盘编码(设备号)")
    private String devicecode;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date created;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updated;
    /**
     * 是否删除  （0：是    1：否）
     */
    @ApiModelProperty(value = "是否删除  （0：是    1：否）")
    @TableField("is_del")
    private Integer isDel;



}
